<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ taglib prefix="wf" uri="/augurit-wf"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href="${ctx}/gzcgwsp/resources/css/common-ui.css" rel="stylesheet" type="text/css" />

<!-- dwr libs -->
<script type='text/javascript' src="${ctx}/dwr/engine.js"></script>
<script type='text/javascript' src="${ctx}/dwr/util.js"></script>
<script type='text/javascript' src="${ctx}/dwr/interface/FileUploadCntl.js"></script>

<script src="${ctx}/gzcgwsp/resources/js/YwUtil.js" type="text/javascript"></script>

<script src="${ctx}/gzcgwsp/resources/js/YwComYsgs.js" type="text/javascript"></script>
<script src="${ctx}/gzcgwsp/resources/js/YwEnterprise.js" type="text/javascript"></script>
<script src="${ctx}/gzcgwsp/resources/js/YwComQyxxTwo.js" type="text/javascript"></script>
<script src="${ctx}/gzcgwsp/resources/js/clxx.js" type="text/javascript"></script>
<script src="${ctx}/gzcgwsp/resources/js/ProcessInstance.js" type="text/javascript"></script>
<script type='text/javascript' src="${ctx}/dwr/engine.js"></script>
<script type='text/javascript' src="${ctx}/dwr/util.js"></script>
<script type="text/javascript">
var saveAndSendFlag = undefined;

$(document).ready(function(){
  $('form[0]').ajaxForm({
    dataType: 'json', 
    success: wfBusSaveCallback
  });
});

function wfBusSaveCallback(result){
    var success = window.updateLayoutAfterWfBusSave(result, false);
    
    if(success){
        document.forms[0].id.value = result.form.id;
        document.forms[0].qyid.value = result.form.qyid;
        document.forms[0].acceptNo.value = result.form.acceptNo;
        document.forms[0].qybhTwo.value = result.form.qybhTwo;
        document.forms[0].gclb.value = result.form.gclb;
        document.getElementById('sjcl_iframe').src = '${ctx}/yw-com-sjcllist!ywList.action?tplcode=${templateCode}&ajid=' + result.form.id + '&qyid=' + result.form.qyid + '&belongType=' + result.form.gclb;
      
      	if (Ext.getCmp('sjclPanel')) Ext.getCmp('sjclPanel').setDisabled(false);
      	if (Ext.getCmp('gisPanel')) Ext.getCmp('gisPanel').setDisabled(false);
      
      	if (Ext.getCmp('WF_PRINT')) Ext.getCmp('WF_PRINT').setDisabled(false);
    }

    if(saveAndSendFlag == 'wfBusSaveAndSend') {
        var toolbar = Ext.getCmp('WF_TOOLBAR');
        if(toolbar)
            toolbar.wfSend();
    }else if(saveAndSendFlag == 'wfBusSj') {
      if (opener.refresh) opener.refresh();
      Ext.getCmp('YslSjBtn').setDisabled(true);
      Ext.getCmp('YslTuihBtn').setDisabled(true);
      alert('收件成功！');
    }else
        alert('保存成功！');
}

function wfBusSaveAndSend(templateCode, taskInstDbid){
	var lhspId = '${lhspId}';
	if(lhspId != ''){//如果是联合审批案件，就不验证表单了
		$('form[0]').attr('action', '${ctx}/yw-yn-jzfqwczz-pfsn!wfBusSave.action?templateCode='+templateCode+'&taskInstDbid='+taskInstDbid);
    	$('form[0]').submit();
  	}else{
	  	if(validateForm()){
	    	$('form[0]').attr('action', '${ctx}/yw-yn-jzfqwczz-pfsn!wfBusSave.action?templateCode='+templateCode+'&taskInstDbid='+taskInstDbid);
	    	$('form[0]').submit();
	  	}
  	}
	if (Ext.getCmp('WF_SAVEANDSEND')) Ext.getCmp('WF_SAVEANDSEND').setDisabled(true);//设置发送按钮不可用
  	saveAndSendFlag = 'wfBusSaveAndSend';
}

function wfBusSave(templateCode,taskInstDbid){
  	if (Ext.getCmp('WF_SAVEANDSEND')) Ext.getCmp('WF_SAVEANDSEND').setDisabled(false);//恢复发送按钮可用
  	saveAndSendFlag = 'wfBusSave';
  	var lhspId = '${lhspId}';
	if(lhspId != ''){//如果是联合审批案件，就不验证表单了
		$('form[0]').attr('action', '${ctx}/yw-yn-jzfqwczz-pfsn!wfBusSave.action?templateCode='+ templateCode+'&taskInstDbid='+taskInstDbid);
		$('form[0]').submit();
  	}else{
		if(validateForm()){
			$('form[0]').attr('action', '${ctx}/yw-yn-jzfqwczz-pfsn!wfBusSave.action?templateCode='+ templateCode+'&taskInstDbid='+taskInstDbid);
		    $('form[0]').submit();
		}
	}  
}

function wfBusSj() {
  	saveAndSendFlag = 'wfBusSj';
  	var lhspId = '${lhspId}';
	if(lhspId != ''){//如果是联合审批案件，就不验证表单了
		$('form[0]').attr('action', '${ctx}/yw-yn-jzfqwczz-pfsn!wfBusSave.action?templateCode='+WF_CONFIG.templateCode+'&isYsl=1');
		$('form[0]').submit();
  	}else{
		if(validateForm()){
		    $('form[0]').attr('action', '${ctx}/yw-yn-jzfqwczz-pfsn!wfBusSave.action?templateCode='+WF_CONFIG.templateCode+'&isYsl=1');
		    $('form[0]').submit();
		}
	}
}

function wfBusYslTuih() {
  	saveAndSendFlag = 'wfBusYslTuih';
  	var lhspId = '${lhspId}';
	if(lhspId != ''){//如果是联合审批案件，就不验证表单了
		$('form[0]').attr('action', '${ctx}/yw-yn-jzfqwczz-pfsn!wfBusYslTuih.action?templateCode='+WF_CONFIG.templateCode+'&isYsl=1');
		$('form[0]').submit();
  	}else{
		if(validateForm()){
		    $('form[0]').attr('action', '${ctx}/yw-yn-jzfqwczz-pfsn!wfBusYslTuih.action?templateCode='+WF_CONFIG.templateCode+'&isYsl=1');
		    $('form[0]').submit();
		}
	}
}

function printcz(templateCode, printTemplateCode){
  var busEntityKey = document.forms[0].id.value;
  var taskInstDbid = Ext.getCmp('WF_TOOLBAR').taskInstDbid;
  if(busEntityKey != null && busEntityKey != '' && taskInstDbid != null){
    var url = '${ctx}/yw-yn-jzfqwczz-pfsn!printcz.action?taskInstDbid=' + taskInstDbid + '&id='+busEntityKey + '&templateCode=' + templateCode + '&busFormPrintCode=' + printTemplateCode;
    openCenterWindow(url, 1050, 650);
  }
}

function CreateDoc(){
  var win = new Ext.ux.wf.WfSelRedHeadFile({
    url: '/yw-yn-jzfqwczz-pfsn!makeDocument.action'
  });
  win.show();
}

//套打许可证或者复函
function printYn(){
	var fzFlag = document.getElementById("fzFlag").value;
	var taskInstDbid = WF_CONFIG.taskInstDbid;
	if(fzFlag != "" && fzFlag == "1"){//打印处置证 
		//openCenterWindow(ctx + '/yw-yn-jzfqwczz-pfsn!preViewFhOrCzz.action?id=${id}'+"&flag=czz", 1100, 650);
		window.open(ctx + '/yw-yn-jzfqwczz-pfsn!preViewFhOrCzz.action?id=${id}'+"&flag=czz");
		//YwUtil.openWin({url: ctx + '/yw-yn-jzfqwczz-pfsn!preViewFhOrCzz.action?id=${id}'+"&flag=czz"});
	}else if(fzFlag != "" && fzFlag == "2"){////打印临时余泥渣土排放复函
		openCenterWindow(ctx + '/yw-yn-jzfqwczz-pfsn!preViewFhOrCzz.action?id=${id}'+"&flag=fh&taskInstDbid="+taskInstDbid, 1100, 650);
	}
    //if(<wf:hasPriv activities="jbrsj" />){
    //    openCenterWindow(ctx + '/yw-rq-qyjyxk!preViewJyxkz.action?id=${id}'+"&hjmc=jbrsj", 1100, 650);
    //}else if(<wf:hasPriv activities="dzgz" />){
    //   openCenterWindow(ctx + '/yw-rq-qyjyxk!preViewJyxkz.action?id=${id}'+"&hjmc=dzgz", 1100, 650);
    //}
    
}

//盖章许可证
function xkzgz(){
	var fzFlag = document.getElementById("fzFlag").value;
	var taskInstDbid = WF_CONFIG.taskInstDbid;
	window.open(ctx + '/yw-yn-jzfqwczz-pfsn!gzViewXkz.action?id=${id}'+"&flag=czz");
}

//运输公司录入
function xzYsgs(){	
	var templateCode = WF_CONFIG.templateCode;
	var url = ctx +  '/yw-com-ysgs!toAddPage.action?templateCode='+templateCode;
    var parmw = "width="+screen.availWidth-35+",height="+screen.availHeight-10;
    parmw += ',fullscreen=no,toolbar=no,menubar=no,status=yes,locationbar=no,directories=no,scrollbars=yes,resizable=yes';
    var handle= window.open(url, '_blank', parmw);  
}

function openAttache(url) {
  window.open(url);
}

function saveOpinion() {
    var jbrxckcTxt = document.getElementById('jbrxckcJudgmentTxt_ynczz');
    var jbhcTxt = document.getElementById('jbhcJudgmentTxt_ynczz');
    var csTxt = document.getElementById('jbrcsJudgmentTxt_ynczz');
    var fsTxt = document.getElementById('jbrfsJudgmentTxt_ynczz');
    var kzTxt = document.getElementById('kzJudgmentTxt_ynczz');
    var fczTxt = document.getElementById('fczJudgmentTxt_ynczz');
    var czTxt= document.getElementById('czJudgmentTxt_ynczz');
    
    
    var inputObj, divobj;
    if (jbrxckcTxt && !jbhcTxt && !csTxt && !fsTxt && !kzTxt && !fczTxt && !czTxt) {
      inputObj = jbrxckcTxt; divobj = document.getElementById('jbrxckcJudgment');
    }else if (!jbrxckcTxt && jbhcTxt && !csTxt && !fsTxt  && !kzTxt && !fczTxt && !czTxt) {
      inputObj = jbhcTxt; divobj = document.getElementById('jbhcJudgment');
    }else if (!jbrxckcTxt && !jbhcTxt && csTxt && !fsTxt  && !kzTxt && !fczTxt && !czTxt) {
      inputObj = csTxt; divobj = document.getElementById('jbrcsJudgment');
    }else if (!jbrxckcTxt && !jbhcTxt && !csTxt && fsTxt  && !kzTxt && !fczTxt && !czTxt) {
      inputObj = fsTxt; divobj = document.getElementById('jbrfsJudgment');
    }else if (!jbrxckcTxt && !jbhcTxt && !csTxt && !fsTxt  && kzTxt && !fczTxt && !czTxt) {
      inputObj = kzTxt; divobj = document.getElementById('kzJudgment');
    }else if (!jbrxckcTxt && !jbhcTxt && !csTxt && !fsTxt  && !kzTxt && fczTxt && !czTxt) {
      inputObj = fczTxt; divobj = document.getElementById('fczJudgment');
    }else if (!jbrxckcTxt && !jbhcTxt && !csTxt && !fsTxt  && !kzTxt && !fczTxt && czTxt) {
      inputObj = czTxt; divobj = document.getElementById('czJudgment');
    }
    
    
    if (!inputObj || inputObj.value == '') return;
    
    Ext.Ajax.request({
      method:'post',
      url:'${ctx}/wf!saveTaskOpinion.action',
      params:{
        'instance.taskInstDbid': WF_CONFIG.taskInstDbid,
        'instance.handleComments': inputObj.value
      },
      success:function(){
      changeOpinion(inputobj.value, divobj);
        inputobj.value = '';
      },
      scope:this
    });
}

function inputJudgment(index) {
    var divid = '', inputid = '';
    switch(index) {
        case 'A': divid = 'jbhcJudgment'; inputid = 'jbhcJudgmentTxt_ynczz'; break;
        case 'B': divid = 'jbrxckcJudgment'; inputid = 'jbrxckcJudgmentTxt_ynczz'; break;
        case 'C': divid = 'kzJudgment'; inputid = 'kzJudgmentTxt_ynczz'; break;
        case 'D': divid = 'fczJudgment'; inputid = 'fczJudgmentTxt_ynczz'; break;
        case 'E': divid = 'czJudgment'; inputid = 'czJudgmentTxt_ynczz'; break;
        case 'H': divid = 'jbrcsJudgment'; inputid = 'jbrcsJudgmentTxt_ynczz'; break;
        case 'I': divid = 'jbrfsJudgment'; inputid = 'jbrfsJudgmentTxt_ynczz'; break;
    }
    var divobj = document.getElementById(divid);
    var inputobj = document.getElementById(inputid);
    if (divid == '' || !divobj) {
        alert('参数错误！');
        return;
    }
    if (inputobj.value == '') { alert('请输入意见!'); return; }
    Ext.Ajax.request({
      method:'post',
      url:'${ctx}/wf!saveTaskOpinion.action',
      params:{
        'instance.taskInstDbid': WF_CONFIG.taskInstDbid,
        'instance.handleComments': inputobj.value
      },
      success:function(){
        changeOpinion(inputobj.value, divobj);
        inputobj.value = '';
      },
      scope:this
    });
}

function changeOpinion(opinion, divobj) {
  var userOpinion = document.getElementById('userOpinion');
  if (userOpinion) {
    userOpinion.innerHTML = opinion + '<br>&nbsp;&nbsp;&nbsp;&nbsp;${CurrUserName}&nbsp;&nbsp;' + new Date().format('yyyy-MM-dd hh:mm:ss');
  } else {
    divobj.style.color = '#009966';
    divobj.innerHTML = opinion + '<br>&nbsp;&nbsp;&nbsp;&nbsp;${CurrUserName}&nbsp;&nbsp;' + new Date().format('yyyy-MM-dd hh:mm:ss');
  }
}


function writeJudgment(index) {
    var divid = '';
    switch(index) {
        case 'A': divid = 'jbhcJudgment'; break;
        case 'B': divid = 'jbrxckcJudgment'; break;
        case 'C': divid = 'kzJudgment'; break;
        case 'D': divid = 'fczJudgment'; break;
        case 'E': divid = 'czJudgment'; break;
        case 'H': divid = 'jbrcsJudgment'; break;
        case 'I': divid = 'jbrfsJudgment'; break;
    }
    var divobj = document.getElementById(divid);
    if (divid == '' || !divobj) {
        alert('参数错误！');
        return;
    }
    var win = new Ext.ux.wf.WfOpinionWin({
        taskInstDbid: Ext.getCmp('WF_TOOLBAR').taskInstDbid
    });
    win.show();
    win.on('complete', function (opinion) {
        divobj.innerHTML = opinion + '<br>&nbsp;&nbsp;&nbsp;&nbsp;${CurrUserName}&nbsp;&nbsp;' + new Date().format('yyyy-MM-dd hh:mm:ss');
    });
}

Ext.onReady(function(){
	
    var id_ = document.forms[0].id.value;
    var acceptNo_ = document.forms[0].acceptNo.value;
    if (id_ == '') {
      if (Ext.getCmp('WF_PRINT')) Ext.getCmp('WF_PRINT').setDisabled(true);
    }

    var centerTabPanel = Ext.getCmp('centerPanel');
    
    var ywPanel = new Ext.TabPanel({
        id: 'YwYnJzFqwczzPfsnTpanel',
        renderTo: 'tpanel',
        activeTab: 0,
        border: false,
        height: centerTabPanel.getHeight(),
        enableTabScroll: true,
        defaults: {autoScroll: true},
        items: [],
        listeners: {
            remove: function(tp, c) {
                c.hide();
            },
            afterlayout: function(c) {
                c.strip.setWidth(c.stripWrap.getWidth() - 2);
            },
            tabchange : function (tpanel, p) {
            	var InstanceID = '${projectId}';
            	if(p.title=="车辆信息列表"){
                    findByQyid();
                }else if(p.title=="办理意见"){
                    GetDF_Opinion(InstanceID);
                }else if(p.title=="办理进度"){
                    GetProjectStep(InstanceID);
                }else if(p.title=="工程信息"){
                    window.setTimeout(function(){
						GetProjectForm(InstanceID);
					}, 1500);
                }else if(p.title=="申请材料"){
                    GetResourcesObjectInfo(InstanceID);
                }
            }
        }
    });
    
    var cpbPanel = new Ext.Panel({id: 'cpbPanel', title: '呈批表', tabCls: 'right-tab', contentEl: 'tpanel02', border: false, disabled: id_ == '' ? true : false});
    var jbxxPanel = new Ext.Panel({title: '基本信息', tabCls: 'right-tab', contentEl: 'tpanel01', border: false});
    var xckcPanel = new Ext.Panel({id: 'xckcPanel', title: '现场勘查', tabCls: 'right-tab', contentEl: 'tpanel08', border: false, disabled: id_ == '' ? true : false});
    var csPanel = new Ext.Panel({id: 'csPanel', title: '初审', tabCls: 'right-tab', contentEl: 'tpanel09', border: false, disabled: id_ == '' ? true : false});
    var sfPanel = new Ext.Panel({id: 'sfPanel', title: '收费表', tabCls: 'right-tab', contentEl: 'tpanel10', border: false, disabled: id_ == '' ? true : false});
    //////var clxxPanel = new Ext.Panel({id: 'clxxPanel', title: '车辆信息列表', tabCls: 'right-tab', contentEl: 'tpanel05', border: false, disabled: id_ == '' ? true : false});
    var bjgzPanel = new Ext.Panel({title: '补交告知表', tabCls: 'right-tab', contentEl: 'tpanel00', border: false});
    var sqclPanel = new Ext.Panel({id: 'sqclPanel', title: '申请材料', tabCls: 'right-tab', contentEl: 'tpanel14', border: false, disabled: id_ == '' ? true : false});
    var blyjPanel = new Ext.Panel({id: 'blyjPanel', title: '办理意见', tabCls: 'right-tab', contentEl: 'tpanel15', border: false, disabled: id_ == '' ? true : false});
    var bljdPanel = new Ext.Panel({id: 'bljdPanel', title: '办理进度', tabCls: 'right-tab', contentEl: 'tpanel16', border: false, disabled: id_ == '' ? true : false});
    var gcxxPanel = new Ext.Panel({id: 'gcxxPanel', title: '工程信息', tabCls: 'right-tab', contentEl: 'tpanel17', border: false, disabled: id_ == '' ? true : false});
    var lhspId = '${lhspId}';
    if("" != lhspId){//如果联合审批ID不为空，则加上这些页面
    	ywPanel.add(sqclPanel);    	
    	ywPanel.add(blyjPanel);
    	ywPanel.add(bljdPanel);
    	ywPanel.add(gcxxPanel);
    }
    
    if (<wf:hasPriv activities="cksa,kzsh1,jbrsl,jbrxckc,jbrcs,jbrfs,kzsh,fczsp,czsp,sf,ckfsgz,fz" /> && "" == lhspId) {//2
        ywPanel.add(new Ext.Panel({id: 'sjclPanel', title: '收件材料', tabCls: 'right-tab', contentEl: 'tpanel03', border: false, disabled: id_ == '' ? true : false}));
    }
    //if (<wf:hasPriv activities="cksa,jbryj,kzyj,fczyj,czyj,xcsh,jbryj2,kzyj2,fczsp,czsp,jbsj,ckjcyj,czgldsh,wfgldsh,wzgldsp,jbrsj,dzgz,czgldyqsh,wfgldyqsp,wzgldyqsh,jbrslyqbl" />) {//1
    ///////    ywPanel.add(clxxPanel);
    //}
    if (<wf:hasPriv activities="jbrxckc,jbrcs,jbrfs,kzsh,fczsp,czsp,sf,ckfsgz,fz" />) {
    	ywPanel.add(xckcPanel);
    	//加载现场勘察表图片
    	getImages();
    }
  
    if (<wf:hasPriv activities="jbrcs,jbrfs,kzsh,fczsp,czsp,sf,ckfsgz,fz" />) { 
    	ywPanel.add(csPanel);
    }
    if("" == lhspId){//不是联合审批案件，则把基本信息表加上去
    	ywPanel.add(jbxxPanel);
    }
    
    if (<wf:hasPriv activities="jbrsl" />) {
    	ywPanel.add(bjgzPanel);
    }
     if (<wf:hasPriv activities="sf,fz,ckfsgz" />) {
       ywPanel.add(sfPanel);
    }
    
    if (<wf:hasPriv activities="jbrsl,jbrxckc,jbrcs,jbrfs,kzsh,kzsh1,fczsp,czsp,sf,ckfsgz,fz" />) {
        ywPanel.add(cpbPanel);
        ywPanel.setActiveTab(cpbPanel);
    } else if("" == lhspId){//不是联合审批案件，则把基本信息表设置为活动
        ywPanel.setActiveTab(jbxxPanel);
    }else{//联合审批案件，设置工程信息表为活动
    	ywPanel.setActiveTab(gcxxPanel);
    }
    ywPanel.doLayout(true);
});

	function getImages(){
		var ajid='${id}';
		if(ajid==null){return;}
		var templateCode = WF_CONFIG.templateCode;
		Ext.Ajax.request({
	      url:'${ctx}/yw-yn-jzfqwczz-xckctp!getImages.action',
	      params:{
	        'ajid': ajid,
	        'templateCode': templateCode
	      },
	      success:function(response){
		  	var imagesStr = response.responseText;
			var imagesObj = eval('(' + imagesStr + ')');
			var su = imagesObj.success;
			//alert(su);
			var imagesArray = imagesObj.result;
			var html = "";
			for(var i = 0;i<imagesArray.length;i++){
				var imagesEntity = imagesArray[i];
                	//alert(imagesEntity.filepath);
                	var fjUrl = '${ctx}' + imagesEntity.filepath;//
			    	var fjUrl2 = "'" + fjUrl + "'";
                	var attacheType = imagesEntity.filetype;
                	var imgTitle = imagesEntity.filename + '.' + attacheType;
                	var imgId = imagesEntity.id;
                	html = html + '<br/>' + '<span style="height:23px"><a href="javascript:openFj('+fjUrl2+');" title="'+imgTitle+'"><img src="${ctx}/resources/images/fileType/'+attacheType+
		    		'.gif" onerror="nofound();" border="0" class="img_16x16"/>'+imgTitle+'</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:deleteFj('+imgId+');"><font style="font-size:12px">删除</font></a></span>';
			}
			
			//var html = '<a href="javascript:openFj('+fjUrl2+');" title="'+imgTitle+'"><img src="${ctx}/resources/images/fileType/'+attacheType+
		    //		'.gif" onerror="nofound();" border="0" class="img_16x16"/>'+imgTitle+'</a>&nbsp;<a href="javascript:deleteFj('+imgId+');"><font style="font-size:12px">删除</font></a>';
	    	document.getElementById("imageDiv").innerHTML = html;
	      	
	      },
	      failure:function(){
			
		  },
	      scope:this
	    });
	}
</script>
</head>

<body>
<form action="yw-yn-jzfqwczz-pfsn!save.action" method="post">
  <!---------------- 隐藏域区域 开始 ----------------->
  <input id="hid" type="hidden" name="id" value="${id}" />
    <input type="hidden" id="checkDate" value="<s:date name='checkCarDate' format="yyyy-MM-dd"/>" />
  <input type="hidden" id="checkPerson"  value="${checkCarPerson}" />
   <input type="hidden" id="checkLeader"  value="${checkCarLeader}" />
  <input id="pageNo" type="hidden"/>
  <input type="hidden" id="qyid" name="qyid" value="${qyid}" />
  <input type="hidden" id="qybhTwo" name="qybhTwo" value="${qybhTwo}" />
  <input type="hidden" id="ysgsId" name="ysgsId" value="${ysgsId}" />
  <input type="hidden" id="xckcid" name="xckcid" value="${xckcid}" />
  <input type="hidden" id="csid" name="csid" value="${csid}" />
  <input type="hidden" id="needKcsj" name="needKcsj" value="${needKcsj}" />
  <input type="hidden" id="needSqjmfqfk" name="needSqjmfqfk" value="${needSqjmfqfk}" />
  <input type="hidden" id="fzFlag" name="fzFlag" value="${fz}"/>
  <input type="hidden" id="approvalNo" name="approvalNo" value="${approvalNo}"/>
  <!---------------- 隐藏域区域 结束 ----------------->
<div id="tpanel"></div>

<div style="display:none">
<div id="tpanel01" align="center">
  <%@ include file="YwYnJzfqwczzPfsn-sqb.jsp" %>
</div>
<div id="tpanel02" align="center">
  <%@ include file="YwYnJzfqwczzPfsn-cpb.jsp" %>
</div>
<div id="tpanel08" align="center">
  <%@ include file="../common/YwYnJzfqwczzXn-xckc.jsp" %> 
</div>
<div id="tpanel09" align="center">
  <%@ include file="../common/YwYnJzfqwczzXn-cs.jsp" %> 
</div>
<div id="tpanel10" align="center">
  <%@ include file="YwYnJzfqwczzPfsn-sfb.jsp" %> 
</div>
<div id="tpanel00" align="center"><%@ include file="../common/YwYnJzfqwczzXn-bjgz.jsp" %></div>
<div id="tpanel03" align="center">
   <iframe id="sjcl_iframe" src="${ctx}/yw-com-sjcllist!ywList.action?tplcode=${templateCode}&ajid=${id}&qyid=${qyid}&belongType=${gclb}" scrolling="auto" frameborder="0" width="100%" height="100%">
    
  </iframe>
</div>
<div id="tpanel04">
  <!-- <iframe src="${ctx}/qyzz/test.jsp" scrolling="auto" frameborder="0" width="100%" height="100%"></iframe> -->
</div>

<div id="tpanel05" align="center" >
  
</div>

<div id="tpanel06" align="center" >
</div>
<div id="tpanel07" align="center">

</div>
<div id="tpanel14" align="center"></div>
<div id="tpanel15" align="center" ></div>
<div id="tpanel16" align="center" ></div>
<div id="tpanel17" align="center" ></div>
</div>
</form>

<div style="display:none">
  <input id="attacheBrow" type="file" />
</div>
</body>
</html>
